package com.disease.api.service.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.disease.api.service.entity.EmrPatientInfo;
import com.disease.api.service.vo.EmrDeathInfoVO;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@DS("base")
public interface EmrPatientInfoMapper extends BaseMapper<EmrPatientInfo>{

    EmrDeathInfoVO queryOne(@RequestParam("patient_id") String patientId);

    List<EmrPatientInfo> queryPatientByKey(String keyword);

}
